LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ForeignKeysAttribute Constructor(String[],String[])
See Also 
Leadtools.Medical.DataAccessLayer.Catalog Namespace > ForeignKeysAttribute Class > ForeignKeysAttribute Constructor : ForeignKeysAttribute Constructor(String[],String[])



parentElementKeys
The element keys name in the parent Leadtools.Medical.DataAccessLayer.Catalog.ICatalogEntity.
childElementKeys
The element keys name in the child Leadtools.Medical.DataAccessLayer.Catalog.ICatalogEntity which corresponds to the parentElementKeys
Initializes a new instance of the ForeignKeysAttribute attribute.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal parentElementKeys() As String, _
   ByVal childElementKeys() As String _
)
Visual Basic (Usage)Copy Code
Dim parentElementKeys() As String
Dim childElementKeys() As String
 
Dim instance As New ForeignKeysAttribute(parentElementKeys, childElementKeys)
C# 
public ForeignKeysAttribute( 
   string[] parentElementKeys,
   string[] childElementKeys
)
C++/CLI 
public:
ForeignKeysAttribute( 
   array<String^>^ parentElementKeys,
   array<String^>^ childElementKeys
)

Parameters

parentElementKeys
The element keys name in the parent Leadtools.Medical.DataAccessLayer.Catalog.ICatalogEntity.
childElementKeys
The element keys name in the child Leadtools.Medical.DataAccessLayer.Catalog.ICatalogEntity which corresponds to the parentElementKeys

Remarks

The length of the array in the parentElementKeys should equal the length of the array in childElementKeys.

Each value index in the parentElementKeys should correspond to the same value index in childElementKeys.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features